package com.ruoyi.inspection.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

/**
 * 人员对象 t_people
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
@Data
@TableName("t_people")
public class TPeople extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 巡检人员表主键id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 年龄单位 */
    @Excel(name = "年龄单位")
    private String ageUnit;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNo;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 薪资 */
    @Excel(name = "薪资")
    private BigDecimal salary;

    /** 0-年薪 1-月薪 2-日薪 */
    @Excel(name = "0-年薪 1-月薪 2-日薪")
    private Integer salaryType;

    /** 照片 */
    @Excel(name = "照片")
    private String photoUrl;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer deleteFlag;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 添加人 */
    @Excel(name = "添加人")
    private String addBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;
}
